CFLAG=-I. -o -Jm \
	-Dint8_t="char" -Duint8_t="unsigned char" \
	-Dint16_t="short" -Duint16_t="unsigned short" \
	-Dint32_t="int" -Duint32_t="unsigned int" \
	-Dint64_t="long long" -Duint64_t="unsigned long long" \
	-D__STDINT_H -D__SYS_TYPES_H

ALL: test.exe http_parser.obj

http_parser.obj: http_parser.c
	dmc $(CFLAG) -c http_parser.c

test.exe: test.c
	dmc $(CFLAG) test.c -o $@

clean:
	del *.map
	del *.obj
